<!doctype html>
<html>
<head>
<title><?php $title;?></title>
<meta charset="utf-8" />
<meta generator="csscreator.com" />

<link rel="shortcut icon" type="image/x-icon" href="<?php echo Yii::app()->request->baseUrl;?>/images/dea.ico">
<link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl;?>/css/style.css" type="text/css" />
<?php Yii::app()->getClientScript()->registerCoreScript('jquery'); ?>
<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl;?>/js/sliding.form.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl;?>/js/mbMenu.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl;?>/js/jquery.hoverIntent.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl;?>/js/jquery.metadata.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/jquery.sheepItPlugin.js"></script>
<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl;?>/css/menu_red.css" media="screen" />

<style type="text/css">
	body .style a{
		color:gray;
		font-family:sans-serif;
		font-size:13px;
		text-decoration:none;
	}
   .menu{
     display:none;
   }
</style>

<script type="text/javascript">
$(function(){
		$(".myMenu").buildMenu(
		{
			//template:"menuVoices.html",
			additionalData:"pippo=1",
			menuWidth:200,
			openOnRight:false,
			menuSelector: ".menuContainer",
			containment:"wrapper",
			iconPath:"<?php echo Yii::app()->request->baseUrl;?>/images/menu/",
			hasImages:true,
			fadeInTime:100,
			fadeOutTime:300,
			adjustLeft:2,
			minZindex:"auto",
			adjustTop:10,
			opacity:.95,
			shadow:true,
			closeOnMouseOut:true,
			closeAfter:1000
		});
	});

</script>

<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

<!-- Please link back to http://csscreator.com -->
</head>
<body>
<div id="pagewidth" >
	<header id="header">
	<div class="myMenu">
	<!-- start horizontal menu -->
	<table class="rootVoices" cellspacing='0' cellpadding='0' border='0'>
		<tr>
			<td class="rootVoice {menu: 'Home'}" >Home &nbsp;<img style="position:absolute;" src="<?php echo Yii::app()->request->baseUrl;?>/images/menu/home.png"/></td>
			<td class="rootVoice {menu: 'Master'}" >Master &nbsp;<img style="position:absolute;" src="<?php echo Yii::app()->request->baseUrl;?>/images/menu/master.png"/></td>
			<td class="rootVoice {menu: 'Simpanan'}" >Simpan Pinjam &nbsp;<img style="position:absolute;" src="<?php echo Yii::app()->request->baseUrl;?>/images/menu/gudang.png"/></td>
			<td class="rootVoice {menu: 'Keuangan'}" >Keuangan &nbsp;<img style="position:absolute;" src="<?php echo Yii::app()->request->baseUrl;?>/images/menu/keuangan.png"/></td>
			<td class="rootVoice {menu: 'Laporan'}" >Laporan &nbsp;<img style="position:absolute;" src="<?php echo Yii::app()->request->baseUrl;?>/images/menu/pos.png"/></td>
		</tr>
	</table>		
	<!-- end horizontal menu -->
</div>

<!-- menues -->
<div id="Home" class="menu">
	<a href="<?php echo Yii::app()->createUrl('');?>" class="{img: 'iconhome/home.png'}">Home</a>
	<a href="<?php Yii::app()->createUrl('user/user_management/');?>" class="{img: 'iconhome/ubah_password.png'}">Ubah Password</a>
	<a href="<?php Yii::app()->createUrl('deabakery/logout/');?>" class="{img: 'iconhome/log_out.png'}">Logout</a>
</div>

<div id="Master" class="menu">
	<a href="<?php echo Yii::app()->createUrl('Anggota');?>" class="{img: 'iconmaster/pegawai.png'}">Anggota</a>
	<a href="<?php echo Yii::app()->createUrl('JenisSimpanan/pokok/');?>" class="{img: 'iconmaster/harga_barang.png'}">Simpanan Pokok</a>
	<a href="<?php echo Yii::app()->createUrl('JenisSimpanan/wajib/');?>" class="{img: 'iconmaster/harga_konsinyasi.png'}">Simpanan Wajib</a>
	<a href="<?php echo Yii::app()->createUrl('MasterAkun');?>" class="{img: 'iconmaster/akun_keuangan.png'}">Akun Keuangan</a>
	<a href="<?php echo Yii::app()->createUrl('AkunOtomasi');?>" class="{img: 'iconmaster/konsinyasi.png'}">Otomasi Akun</a>
	<a href="<?php echo Yii::app()->createUrl('AsalPinjaman');?>" class="{img: 'iconmaster/kategori_barang.png'}">Asal Pinjaman</a>
	<!--<a href="<?php Yii::app()->createUrl('produksi/barang/');?>" class="{img: 'iconmaster/barang.png'}">Barang</a>
	<a href="<?php Yii::app()->createUrl('produksi/harga_barang/');?>" class="{img: 'iconmaster/harga_barang.png'}">Harga Barang</a>
	<a href="<?php Yii::app()->createUrl('produksi/konsinyasi/');?>" class="{img: 'iconmaster/konsinyasi.png'}">Konsinyasi</a>
	<a href="<?php Yii::app()->createUrl('produksi/harga_konsinyasi/');?>" class="{img: 'iconmaster/harga_konsinyasi.png'}">Harga Konsinyasi</a> 
	<a href="<?php Yii::app()->createUrl('keuangan/akun/');?>" class="{img: 'iconmaster/akun_keuangan.png'}">Akun Keuangan</a>
	<a href="<?php Yii::app()->createUrl('user/user/');?>" class="{img: 'iconmaster/user.png'}">User</a>-->

</div>

<div id="Simpanan" class="menu">
	<a href="<?php echo Yii::app()->createUrl('SimpanPinjam');?>" class="{img: 'icongudang/order_bahan_baku.png'}">Daftar Simpan Pinjam Anggota</a>
	<a href="<?php echo Yii::app()->createUrl('tabungan/FormSimpanan');?>" class="{img: 'icongudang/stock_divisi.png'}">Simpanan Wajib</a>
	<!--<a href="<?php echo Yii::app()->createUrl('tabungan/FormSimpanan');?>" class="{img: 'icongudang/penerimaan_konsinyasi.png'}">Penerimaan Konsinyasi</a>
	<a rel="separator"> </a>
	<a href="<?php Yii::app()->createUrl('gudang/laporan/laporan_penerimaan_stock_gudang');?>" class="{img: 'icongudang/laporan_stock_gudang.png'}">Laporan Penerimaan Stock Gudang</a>
	<a href="<?php Yii::app()->createUrl('gudang/laporan/laporan_stock_divisi');?>" class="{img: 'icongudang/laporan_stock_divisi.png'}">Laporan Stock Divisi</a>
	<a href="<?php Yii::app()->createUrl('gudang/laporan/laporan_rekap_stock_gudang');?>" class="{img: 'icongudang/laporan_rekap_gudang.png'}">Laporan Rekap Stock Gudang</a> -->
</div>

<div id="Laporan" class="menu">
	<a href="<?php echo Yii::app()->createUrl('Tabungan/LaporanSimpanan');?>" class="{img: 'iconkeuangan/laporan_keuangan.png'}">Laporan Simpanan</a>
	<a href="<?php echo Yii::app()->createUrl('Pinjaman/laporanPinjaman');?>" class="{img: 'iconkeuangan/laporan_keuangan.png'}">Laporan Pinjaman</a>
	<a href="<?php echo Yii::app()->createUrl('Keuangan/LaporanBukuBesar');?>" class="{img: 'iconkeuangan/laporan_keuangan.png'}">Laporan Buku Besar</a>
	<a href="<?php echo Yii::app()->createUrl('Keuangan/LaporanLabaRugi');?>" class="{img: 'iconkeuangan/laporan_keuangan.png'}">Laporan Laba-Rugi</a>
	<a href="<?php echo Yii::app()->createUrl('Keuangan/LaporanShu');?>" class="{img: 'iconkeuangan/laporan_keuangan.png'}">Laporan SHU</a>
	<a href="<?php echo Yii::app()->createUrl('Keuangan/LaporanKeuangan');?>" class="{img: 'iconkeuangan/laporan_keuangan.png'}">Laporan Keuangan</a>
	<a href="<?php echo Yii::app()->createUrl('Keuangan/TutupBuku');?>" class="{img: 'iconkeuangan/laporan_keuangan.png'}">Tutup Buku</a>
	
</div>

<div id="Keuangan" class="menu">
	<a href="<?php echo Yii::app()->createUrl('jurnal/index/',array('bulan'=>0,'tahun'=>0));?>" class="{img: 'iconkeuangan/menu_transaksi.png'}">Transaksi</a>
	<a href="<?php echo Yii::app()->createUrl('jurnal/create');?>" class="{img: 'iconkeuangan/menu_transaksi.png'}">Input Transaksi</a>
</div>

	</header>
	 <div id="content">
		<div id="wrapper" class="clearfix">
			<div id="maincol"><?php echo  $content;?></div>
		</div>
	</div>
	<footer id="footer"></footer>
</div>
</body>
</html>